package phantri.uit.menunhahang;

import java.net.ConnectException;

/**
 * Connection Time Out Exception
 * @author BINH
 * @version 1.0
 * */
public class ConnectionTimeOutException extends ConnectException {
	private static final long serialVersionUID = 1L;
	private long duration;
	
	public ConnectionTimeOutException() {
		super();
	}
	
	public ConnectionTimeOutException(long duration) {
		super(String.valueOf(duration));
		this.duration = duration;
	}
	
	public long getDuration() {
		return duration;
	}
}
